﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace DeZhen.Core.Consul.Client
{
    public interface IConsulHttpClient
    {
        public String Post(String url, String json, Dictionary<String, String> heads = null);
        public Task<String> PostAsync(String url, String json, Dictionary<String, String> heads = null);
        public String Get(String url, Dictionary<String, String> heads = null);
        public Task<String> GetAsync(String url, Dictionary<String, String> heads = null);
    }
}
